package permutacionesbipartito;

public class Tupla {
private int x;
private boolean y;
    Tupla(int a, boolean b)
    {
        x = a;
        y = b;
    }
    public int getX()
    {
        return x;
    }
    public boolean getY()
    {
        return y;
    }
    public void setX(int a)
    {
        x = a;
    }
    public void setY(boolean b)
    {
        y = b;
    }
    public boolean equals(Tupla b) 
    {
        return (y == b.getY());
    }
}
